from dataclasses import dataclass


@dataclass
class Product:
    # 产品id:id
    id: int = 0
    # 产品标识：label
    label: str = None
    # 产品名称：name
    name: str = None
    # 项目名称：project
    project: str = None
    # 日期：start_date
    start_date: str = None


@dataclass
class Sensor:
    id: int = 0
    sensor_code: str = None
    location: str = None
    agree: str = None
    product_id: str = None
    agree_data_list = []
    agree_base_agree = [0,0,0]

